Smush\Core\Server_Utils S

Total Complexity 50
Dependencies 0
Dependents 12
Total lines 206
Lines of code 142
Logical lines of code 81
Comment lines 14
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
check_user_agent_version()
A
56 8 16
get_server_type()
S
56 5 19
get_http_accept_header()
S
62 4 12
get_memory_limit()
S
62 4 11
get_device_type()
S
67 3 9
browser_supports_webp()
S
67 3 7
array_has_needle()
S
67 3 8
is_function_supported()
S
64 3 10
get_user_agent()
S
77 2 3
get_document_root()
S
77 2 3
get_mysql_version()
S
69 2 7
get_current_url()
S
68 2 6
get_request_method()
S
70 2 6
is_tablet()
S
67 2 8
is_mobile()
S
67 2 8
get_max_execution_time()
S
80 1 3
get_request_uri()
S
78 1 3
get_memory_usage()
S
80 1 3